<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <title>签到</title>
    

</head>

<body>
    <ul>
        <li>
            <label>姓名：</label>
            <input type="text" name="name" id="name">
        </li>
        <li>
            <label>位置：</label>
            <input type="text" name="name" id="loc" readonly="true">
        </li>
        
        <button id="btn_loc">获取位置</button>   
        <button id="btn_sub">提交</button>   
     </ul>

     <script src="js/main.js"></script>
</body>

</html>